home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 87
/
64er_Magazin_Sonderheft_87_19xx_Markt__Technik_de_Side_A.d64
/
char converter
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
2KB
|
56 lines
10 poke53280,0:poke53281,0:print"[147]"
20 print"char converter"
30 print"eingabefiles (lo / hi):";
40 geta$:ifa$=""then40
50 ifa$="l"thenn1$="saved chr.cfl":n2$="saved vid.cfl":goto80
60 ifa$="h"thenn1$="saved chr.cfh":n2$="saved vid.cfh":goto80
70 goto40
80 printa$
85 print"ausgabefiles (lo / hi): ";
90 geta$:ifa$=""then90
100 ifa$="l"thenn3$="@:saved pic.gfl":goto130
110 ifa$="h"thenn3$="@:saved pic.gfh":goto130
120 goto90
130 printa$
135 print"[147]bitte warten.."
140 fori=1to13
150 poke49151+i,asc(mid$(n1$,i,1)):poke49167+i,asc(mid$(n2$,i,1)):next
160 fori=1to15:poke49183+i,asc(mid$(n3$,i,1)):next
170 gosub1000
180 sys65493
190 ifpeek(144)<>64then2000
200 gosub1000
210 poke187,16:poke782,80
220 sys65493
230 ifpeek(144)<>64then2000
240 print"[147]gespeicherte grafikmode: ";
250 ifpeek(21485)<>0thenb$="extended":goto280
260 ifpeek(21486)<>0thenb$="multicolor":goto280
270 b$="normal"
280 printb$
290 print"waehlen sie die grafikmode :"
300 print"normal"
310 print"multicolor"
320 print"extended"
330 geta$:ifa$=""then330
340 ifa$="n"thena=0:goto380
350 ifa$="m"thena=1:goto380
360 ifa$="e"thena=2:goto380
370 goto330
380 poke49200,a
390 print"[147]bitte warten.."
400 sys3336
999 end
1000 poke184,1:poke186,8:poke185,0
1010 poke183,13:poke187,0:poke188,192
1020 poke780,0:poke781,0:poke782,72
1030 return
2000 print"diskfehler :"
2010 open15,8,15
2020 input#15,d1$,d2$,d3$,d4$,d5$
2030 printd1$" "d2$" "d3$" "d4$" "d5$
2040 close15
2050 print"taste! "
2060 geta$:ifa$=""then2060
2070 run